package factory;

import dao.UserDao;
import dao.UserDaoImp;

/**
 * @Author : liuchangling
 * @Descrition :
 * @Date： Created in 3:09 下午 2021/5/27
 */
public class UserDaoFactory {
    /**
     * 通过静态工程方法模式来实现UserDao实现类对象的创建并返回
     * @return
     */
    public static UserDao getUserDao() {
        return new UserDaoImp();
    }
}
